package com.zhou.service;

import com.zhou.entity.PageResult;
import com.zhou.entity.QueryPageBean;
import com.zhou.entity.Result;
import com.zhou.pojo.Permission;

import java.util.List;

public interface PermissionService {
    List<Permission> findAll();

    PageResult findByPage(QueryPageBean queryPageBean);

    Result add(Permission permission);

    Permission findById(Integer id);

    void edit(Permission permission);

    Result deleteById(Integer id);
}
